Optimal. Leaf size=39 \[ \frac {i \text {Li}_2\left (-i a x^n\right )}{2 n}-\frac {i \text {Li}_2\left (i a x^n\right )}{2 n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {5031, 4848, 2391} \[ \frac {i \text {PolyLog}\left (2,-i a x^n\right )}{2 n}-\frac {i \text {PolyLog}\left (2,i a x^n\right )}{2 n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2391
Rule 4848
Rule 5031
Rubi steps
\begin {align*} \int \frac {\tan ^{-1}\left (a x^n\right )}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\tan ^{-1}(a x)}{x} \, dx,x,x^n\right )}{n}\\ &=\frac {i \operatorname {Subst}\left (\int \frac {\log (1-i a x)}{x} \, dx,x,x^n\right )}{2 n}-\frac {i \operatorname {Subst}\left (\int \frac {\log (1+i a x)}{x} \, dx,x,x^n\right )}{2 n}\\ &=\frac {i \text {Li}_2\left (-i a x^n\right )}{2 n}-\frac {i \text {Li}_2\left (i a x^n\right )}{2 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 32, normalized size = 0.82 \[ \frac {i \left (\text {Li}_2\left (-i a x^n\right )-\text {Li}_2\left (i a x^n\right )\right )}{2 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.47, size = 63, normalized size = 1.62 \[ \frac {2 \, n \arctan \left (a x^{n}\right ) \log \relax (x) + i \, n \log \left (i \, a x^{n} + 1\right ) \log \relax (x) - i \, n \log \left (-i \, a x^{n} + 1\right ) \log \relax (x) - i \, {\rm Li}_2\left (i \, a x^{n}\right ) + i \, {\rm Li}_2\left (-i \, a x^{n}\right )}{2 \, n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\arctan \left (a x^{n}\right )}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 94, normalized size = 2.41 \[ \frac {\ln \left (a \,x^{n}\right ) \arctan \left (a \,x^{n}\right )}{n}+\frac {i \ln \left (a \,x^{n}\right ) \ln \left (1+i a \,x^{n}\right )}{2 n}-\frac {i \ln \left (a \,x^{n}\right ) \ln \left (1-i a \,x^{n}\right )}{2 n}+\frac {i \dilog \left (1+i a \,x^{n}\right )}{2 n}-\frac {i \dilog \left (1-i a \,x^{n}\right )}{2 n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -a n \int \frac {x^{n} \log \relax (x)}{a^{2} x x^{2 \, n} + x}\,{d x} + \arctan \left (a x^{n}\right ) \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {\mathrm {atan}\left (a\,x^n\right )}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {atan}{\left (a x^{n} \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________